home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / WebObjects / SourceCode / Create-A-Card / Main.wo / Main.wod < prev    next >
Text File  |  1996-01-25  |  853b  |  51 lines

  1. /*
  2.  * Main.wod
  3.  *
  4.  * You may freely copy, distribute and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or implied, as to
  6.  * its fitness for any particular use.
  7.  *
  8.  * This is the declarations file for the Main (first) page of the
  9.  * HappyBirthday application.
  10.  *
  11.  */
  12.  
  13.  
  14. FORM: WOForm {method="POST";};
  15.  
  16. NAME_FIELD:WOTextField {
  17.     value = nameString;
  18. };
  19.  
  20. AGE_FIELD:WOTextField {
  21.     value = ageString;
  22. };
  23.  
  24. TEXTFIELD:WOText {
  25.     value = messageString;
  26.     rows="5"; 
  27.     cols="40";
  28. };
  29.  
  30. NAMEGROUP:WORepetition {
  31.     list = WOApp.namesArray;
  32.     item = anItem;
  33. };
  34.  
  35.  
  36. NAMEGROUP.A_NAME:WOString {
  37.     value = anItem.aName;
  38. };
  39.  
  40.  
  41. SUBMIT_BUTTON:WOSubmitButton {
  42.     multipleSubmit=YES;
  43.     action = happyBirthday;    
  44. };
  45.  
  46. SHOW_RECIPIENTS_BUTTON:WOSubmitButton {
  47.     multipleSubmit=YES;
  48.     action = showRecipients;
  49.     value = "Show all recipients";
  50. };
  51.